package com.yjd.comm.user.service;

import com.yjd.comm.base.service.IBaseService;
import com.yjd.comm.user.model.CheckTypeModel;

/**
 * <b>description</b>：评级标准业务接口<br>
 * <b>time</b>：2014-12-02 11:58:28 <br>
 * <b>author</b>：  renbangjie_vip@163.com
 */
public interface ICheckTypeService extends IBaseService {
	/**
	 * 插入
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public CheckTypeModel insert(CheckTypeModel model) throws Exception;

	/**
	 * 更新,大于等于1表示成功，其他失败
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public int update(CheckTypeModel model) throws Exception;

	/**
	 * 根据id删除,大于等于1表示成功，其他失败
	 * 
	 * @param id
	 * @return
	 * @throws Exception
	 */
	public int delete(Long id) throws Exception;
	
	/**
	 * 
	 * 根据id批量删除
	* @param ids
	* @return boolean
	 */
	public boolean batchDelete(Integer[] ids);

}
